package com.rskg.g_rskg.service;

import com.rskg.g_rskg.Mapper.UserMapper;
import com.rskg.g_rskg.domin.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TestService {
    @Resource
//    @Autowired  这是sprintboot 带的，上面那个jdk带的
    private UserMapper userMapper;
    public List<User> list(){
        return userMapper.selectByExample(null);
}
}
